<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>北京市发明专利奖申报管理系统</title>
<style type="text/css">
<!--
body {
	margin: 0px;
	font-size:12px;
	background-color:#d4d8db;
	background-image:url(images/manage-bg.jpg);
	background-position:center top;
}
input {border:1px solid #54afce;}
select  {border:1px solid #000000;}
.bg { background-image:url(images/profess-bgred.gif); background-repeat:repeat-x;
background-position:center top;}
-->
</style>

<script type="text/javascript">
	function formSubmit()
	{
	if(""==loginForm.name.value){
	alert("请输入用户名");
	}
	else if(""==loginForm.password.value)
	{
	alert("请输入密码");
	}
	else if(""==loginForm.currentYearId.value){
	alert("请选择登录年份");
	}
	else{
	loginForm.submit();
	}
	}
	
	</script>

</head>

<body>
<s:form  action="/admin/login.action" method="post" name="loginForm">
<s:hidden name="identity" value="expert"></s:hidden>
<s:hidden name="entityType" value="1"/>
<table width="1003" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>&nbsp;</td>
        <td width="573" height="200">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td height="233" background="images/manage-dlbg.jpg"><table  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="200">&nbsp;</td>
            <td width="230">&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td height="30">用户名：
                <input type="text" name="name"></td>
            <td rowspan="2" align="left"><a href="#" onclick="formSubmit()"><img src="images/manage-dl.jpg" width="82" height="60" border="0"></a></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td height="30">密　码：
                <input type="password" name="password"></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td height="30">年　份：
                <select name="currentYear" id="currentYearId">
                <option selected="selected" value="">------请选择----</option>
                  <option value="2010">　　2010年　　</option>
                  <option value="2009">　　2009年　　</option>
                                              </select></td>
            <td align="left">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr><td colspan="4" align="center"><font color="red"><s:fielderror /></font></td></tr>
        </table></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</s:form>
</body>
</html>
